﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;

namespace Lilium.Web.Mvc
{
	public sealed class EntityKeyDescription
	{
		public EntityKeyDescription(IEnumerable<string> keyNames)
		{
			if (keyNames == null) throw new ArgumentNullException("keyNames");

			m_KeyNames = keyNames.ToArray();
		}

		#region public IEnumerable<string> KeyNames

		private readonly string[] m_KeyNames;

		public IEnumerable<string> KeyNames
		{
			[DebuggerNonUserCodeAttribute]
			get
			{
				return m_KeyNames;
			}
		}

		#endregion
	}
}